package com.yuyou.fn.educational.vo;

import com.yuyou.fn.common.condition.annotation.*;

import java.util.Date;

public class DiscountCodeQueryVo {

    /** 优惠码名称 */
    @FullLike
    private String name;

    /** 优惠码 */
    private String code;

    /** 禁用状态 0:禁用 1:启用 */
    private Integer enableStatus;

    /** 使用状态  0:未使用 1:已使用 */
    private Integer usedStatus ;

    private Long areaTeamId;

    @GreatThan(name = "createTime")
    private Date startCreateTime ;

    @LessThan(name = "createTime")
    private Date endCreateTime ;

    /** 是否有效 0:无效 1:有效 */
    @Ignore
    private Integer effectStatus ;

    /** 优惠类型 0:折扣 1:金额 */
    @Equal
    private Integer discountType;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Integer getUsedStatus() {
        return usedStatus;
    }

    public void setUsedStatus(Integer usedStatus) {
        this.usedStatus = usedStatus;
    }

    public Long getAreaTeamId() {
        return areaTeamId;
    }

    public void setAreaTeamId(Long areaTeamId) {
        this.areaTeamId = areaTeamId;
    }

    public Date getStartCreateTime() {
        return startCreateTime;
    }

    public void setStartCreateTime(Date startCreateTime) {
        this.startCreateTime = startCreateTime;
    }

    public Date getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(Date endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    public Integer getEffectStatus() {
        return effectStatus;
    }

    public void setEffectStatus(Integer effectStatus) {
        this.effectStatus = effectStatus;
    }

    public Integer getDiscountType() {
        return discountType;
    }

    public void setDiscountType(Integer discountType) {
        this.discountType = discountType;
    }
}
